package lab02.test05;

public class Cube {
    private  float length;
    private  float wide;
    private float high;

    public  void setLength(float length){
        this.length = length;
    }

    public float getLength() {
        return length;
    }

    public void setWide(float wide) {
        this.wide = wide;
    }

    public float getWide() {
        return wide;
    }

    public void setHigh(float high) {
        this.high = high;
    }

    public float getHigh() {
        return high;
    }
    //体积
    public float codevolume(){
        return length * wide * high;
    }
}
